//Heitor Paceli
//Rafael Araujo
package Objects;

public class Client {
 
    private long id;
    private String name;
    private double debit;
    private int pickedBooks;

    public long getId() {
        return id;
    }
 
    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPickedBooks() {
        return pickedBooks;
    }

    public void setPickedBooks(int pickedBooks) {
        this.pickedBooks = pickedBooks;
    }

    public double getDebit() {
        return debit;
    }

    public void setDebit(double debit) {
        this.debit = debit;
    }
    
    public boolean hasDebits() {
        if (this.pickedBooks > 4) {
            return true;
        } else {
            return false;
        }
    }
    
}
